package org.jeecg.modules.ptUsers.service;

import com.alibaba.fastjson.JSONObject;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.ptUsers.entity.PtUsers;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 会员信息
 * @Author: jeecg-boot
 * @Date:   2023-02-22
 * @Version: V1.0
 */
public interface IPtUsersService extends IService<PtUsers> {

    PtUsers getUserByName(String username);

    PtUsers getUserByPhone(String phone);

    /**
     * 校验用户是否有效
     * @param user
     * @return
     */
    Result checkUserIsEffective(PtUsers user);
}
